-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for CSC, VAR and ATR #134
base: V3.x
Are you sure you want to change the base?
Conversation
Signed-off-by: Casper Kolkman <[email protected]>
7f4e55d
to
3892063
Compare
<!-- --> | ||
<!-- Power Unit Type --> | ||
<!-- --> | ||
<xs:simpleType name="PowerUnitType"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to add more to this enum :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR! Looks like a good improvement to the spec.
I have added some small comments that should be easy to fix. Could you also make a PR for the next upcoming backwards incompatible release (== main) where the new fields are mandatory instead of optional? That way we can make the messages more explicit, without breaking the current implementations in this 3.1 version.
@@ -59,8 +64,7 @@ | |||
<xs:complexType name="D-PrognosisISPType"> | |||
<xs:attribute name="Power" type="xs:integer" use="required"> | |||
<xs:annotation> | |||
<xs:documentation>Power specified for this ISP in Watts. Also see the important notes about the sign of this attribute in the main documentation entry for the ISP element.</xs:documentation> | |||
</xs:annotation> | |||
<xs:documentation>Power specified for this ISP in the given PowerUnit. Also see the important notes about the sign of this attribute in the main documentation entry for the ISP element.</xs:documentation> </xs:annotation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the new property is optional in this Pull Request, I would suggest adding something along the lines of: (If the field is missing, it should be interpreted as Watt) after PowerUnit.
<xs:attribute name="Reference" type="xs:string" use="required"> | ||
<xs:annotation> | ||
<xs:documentation>Message reference, assigned by the DSO originating the FlexReservationUpdate.</xs:documentation> | ||
</xs:annotation> | ||
</xs:attribute> | ||
<xs:attribute name="Unit" type="PowerUnitType" use="optional"> | ||
<xs:annotation> | ||
<xs:documentation>The unit of Power that applies to the Power of the ISP's.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ISPs
not ISP's
<xs:attribute name="Power" type="xs:integer" use="required"> | ||
<xs:annotation> | ||
<xs:documentation>Remaining reserved power specified for this ISP in Watts.</xs:documentation> | ||
<xs:documentation>Remaining reserved power specified for this ISP in the given PowerUnit.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
@@ -189,6 +204,11 @@ | |||
<xs:documentation>Service type for this request, the service type determines response characteristics such as latency or asset participation type.</xs:documentation> | |||
</xs:annotation> | |||
</xs:attribute> | |||
<xs:attribute name="Unit" type="PowerUnitType" use="optional"> | |||
<xs:annotation> | |||
<xs:documentation>The unit of Power that applies to the Min/Max Power of the ISP's.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ISPs
@@ -259,6 +278,11 @@ | |||
<xs:documentation>Reference to the concerning contract, if applicable. The contract may be either bilateral or commoditized market contract.</xs:documentation> | |||
</xs:annotation> | |||
</xs:attribute> | |||
<xs:attribute name="ServiceType" type="xs:string" use="optional"> | |||
<xs:annotation> | |||
<xs:documentation>Service type for this request, the service type determines response characteristics such as latency or asset participation type.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Service type for this request. The service type determines response characteristics such as latency and asset participation type.
@@ -274,6 +298,11 @@ | |||
<xs:documentation>ISO 4217 code indicating the currency that applies to the price of the FlexOffer.</xs:documentation> | |||
</xs:annotation> | |||
</xs:attribute> | |||
<xs:attribute name="Unit" type="PowerUnitType" use="optional"> | |||
<xs:annotation> | |||
<xs:documentation>The unit of Power that applies to the Power of the ISP's within the OfferOptions.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ISPs
@@ -387,6 +415,11 @@ | |||
<xs:documentation>Reference to the concerning bilateral contract, if applicable.</xs:documentation> | |||
</xs:annotation> | |||
</xs:attribute> | |||
<xs:attribute name="ServiceType" type="xs:string" use="optional"> | |||
<xs:annotation> | |||
<xs:documentation>Service type for this request, the service type determines response characteristics such as latency or asset participation type.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Service type for this request. The service type determines response characteristics such as latency and asset participation type.
@@ -478,6 +516,11 @@ | |||
<xs:documentation>ISO 4217 code indicating the currency that applies to all amounts (flex price, penalty and net settlement) in this message.</xs:documentation> | |||
</xs:annotation> | |||
</xs:attribute> | |||
<xs:attribute name="Unit" type="PowerUnitType" use="optional"> | |||
<xs:annotation> | |||
<xs:documentation>The power unit that applies to all given powers in this message.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The power unit that applies to all given power values in this message.
@@ -546,28 +589,27 @@ | |||
</xs:attribute> | |||
<xs:attribute name="BaselinePower" type="xs:integer" use="required"> | |||
<xs:annotation> | |||
<xs:documentation>Power originally forecast (as per the referenced baseline) for this ISP in Watts.</xs:documentation> | |||
<xs:documentation>Power originally forecast (as per the referenced baseline) for this ISP in the given PowerUnit.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accidental double space?
No description provided.